package com.rightsidetech.activity.dto.request.gift;

import com.rightsidetech.commom.base.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class ActGiftPageReq extends PageRequest implements Serializable {

    @ApiModelProperty("活动名称")
    private String eventName;

    @ApiModelProperty("商城分类id")
    private Long mallTypeId;

    @ApiModelProperty("状态 0-待提审 1-待审核 -1驳回 2-已通过 3-已结束")
    private Byte status;

    @ApiModelProperty("开始时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
